x11: Introduce GdkX11PendingSelectionNotify
authorBenjamin Otte <otte@redhat.com>
Fri, 1 Dec 2017 01:53:47 +0000 (02:53 +0100)
committerBenjamin Otte <otte@redhat.com>
Sun, 3 Dec 2017 04:46:48 +0000 (05:46 +0100)
commitea1879396596f0aefb05b59c0d209a2716d61c42
tree31cf561ccac59e43cf0e77e9906b59510707a932
parentbcc0d4b5f046545a301406519e981bcbe98b958f
x11: Introduce GdkX11PendingSelectionNotify

This object tracks the SelectionNotifyEvent that has to be sent in
response to a SelectionRequest.

Currently it just looks like code reshuffling, but it's a prerequisite
for handling MULTIPLE, which requires to only send the notify after
every stream has writtten at least once.

But anyway, code is cleaner now, so it's a win!
gdk/x11/gdkclipboard-x11.c
gdk/x11/gdkselectionoutputstream-x11.c
gdk/x11/gdkselectionoutputstream-x11.h